﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Bluyel.Core
{
    /// <summary>
    /// Base class of Data Value comparable (int, double and char, not string).
    /// </summary>
    public abstract class ValueCompBase : ValueBase, IValueComp
    {
        // this > dv
        public abstract bool IsGreaterThan(IValueComp dv);

        // this < dv
        public abstract bool IsLessThan(IValueComp dv);

        // this >= dv
        public abstract bool IsGreaterEqualThan(IValueComp dv);

        // this =< dv
        public abstract bool IsLessEqualThan(IValueComp dv);

    }
}
